home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1995 May / PC Direct CD-ROM (May 1995).ISO / ipe / bri120e / disk1 / lib4esd.lib / NETBAT.SCR < prev    next >
Encoding:
Text File  |  1994-02-01  |  2.0 KB  |  36 lines

  1. ;This script makes the necessary changes to the system 
  2. ;files to update from ipx.com and netx to the vlms. 
  3. ;Create a fileset to run BEFORE this script.  The fileset
  4. ;should contain all the vlms and other necessary files. The
  5. ;fileset should be created to include the path when it is
  6. ;decompressed so the correct directory structure is created 
  7. ;on the PC. You should edit this script to reflect your
  8. ;specific environment.
  9. COPY [BOOT_ROOT] "AUTOEXEC.BAT"    [BOOT_ROOT] "AUTOEXEC.OLD"
  10. ;This line copies the autoexec.bat to autoexec.old.
  11. SETSYSFILE [BOOT_ROOT] "AUTOEXEC.BAT"
  12. ADDLINE "@Call C:\NWCLIENT\STARTNET" ""    BEFORE
  13. REPLACEKEY "CD\NET" "CD\NET" "CD\NWCLIENT"
  14. REPLACEKEY "IPX" "IPX"    "REM IPX"
  15. REPLACEKEY "NETX" "NETX" "REM NETX"
  16. ;These lines rem out ipx and netx.  If you are using 
  17. ;ipxodi.com you will need to edit the script to fit your
  18. ;environment.
  19. ADDLINE    "LSL" "" AFTER
  20. ADDLINE "NE2000.COM" "" AFTER
  21. ADDLINE "IPXODI" "" AFTER
  22. ADDLINE "VLM" "" AFTER
  23. ;These lines make the necessary changes to the autoexec.bat
  24. ;to use the vlms.
  25. COPY [BOOT_ROOT] "CONFIG.SYS" [BOOT_ROOT] "CONFIG.OLD"
  26. SETSYSFILE [BOOT_ROOT] "CONFIG.SYS"
  27. ADDLINE "LASTDRIVE=Z" "" AFTER
  28. ;These lines make the necessary changes to the config.sys to
  29. ;use the vlms.
  30. COPY [NETCFG] "NET.CFG" [NETCFG] "NET.OLD"
  31. SETSYSFILE [NETCFG] "NET.CFG"
  32. ADDLINE "NetWare DOS Requester" "" AFTER
  33. ADDLINE "   FIRST NETWORK DRIVE = F" "" AFTER
  34. ADDLINE "F:" "" AFTER
  35. COPY [NETCFG] "NET.CFG" "C:\NWCLIENT" "NET.CFG"
  36. REBOOT